package lab02.test12;

import sun.security.provider.SHA;

public class Rectangular extends Shape {
    double height;
    double width;

    @Override
    double area() {
        return width*height;
    }

    @Override
    double perimeter() {
        return 2*(width+height);
    }
}
